#include "stdafx.h"


#include "GameObject.h"

void GameObject::move(float x, float y, float z)
{
	m_node->translate(x,y,z,Ogre::Node::TS_LOCAL);
}
GameObject::GameObject()
{
	m_node = NULL;

}
GameObject::GameObject(Ogre::SceneNode *node)
{
	setSceneNode(node);

}
void GameObject::setSceneNode(Ogre::SceneNode *node)
{
	m_node = node;

}


GameObject::~GameObject()
{
	//TODO delete node?

}

